<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>::Happy - DTAC Prepaid Phone::</title>
<link href="${RESOURCE}/css/global.css" rel="stylesheet" type="text/css">
<link href="${RESOURCE}/css/global-en.css" rel="stylesheet" type="text/css">
<link href="${RESOURCE}/css/customize.css" rel="stylesheet" type="text/css">
<script src="${RESOURCE}/eng/include/AC_RunActiveContent.js" type="text/javascript"></script>
<script language=JavaScript>
	function printWindow(){
		browserVersion = parseInt(navigator.appVersion)
		if (browserVersion >= 4) window.print()
	}

	function include(xUrl,xId) {
		var xmlhttp = false;
		try {
			xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			try {
				xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (E) {
				xmlhttp = false;
			}
		}
		/*@end @*/
		if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
			xmlhttp = new XMLHttpRequest();
		}
		xmlhttp.open("GET", xUrl,true);
		xmlhttp.onreadystatechange=function() {
			if (xmlhttp.readyState==4) {
				document.getElementById(xId).innerHTML = xmlhttp.responseText;
			}

		}
		xmlhttp.send(null)
	}

	function MM_openBrWindow(theURL,winName,features) { //v2.0
		window.open(theURL,winName,features);
	}

	function doSubmit(){
		var d = document.form1;
		var packCode = d.PACK_CODE[d.PACK_CODE.selectedIndex].value;
		var w = 380;
		var h = 260;
		var l = (screen.width - w) / 2; 
		var t = (screen.height - h ) / 2; 

		if (packCode != ""){
			window.open("/bp3/bin/Dspc/VoicePassConfirm?code=" + packCode, "VoicePassApply", "resizable, width=" + w + ", height=" + h + ", top=" + t + ", left=" + l);
		}else{
			alert("Please choose your preferred promotion topping.");
		}
	}

	function gotoWelcome(){
		window.location = "/bp3/bin/Dspc/DpromptWelcome";
	}
</script>

</head>
<body>
<div id="header">
    <%@include file="../head.jsp" %>
</div>

<div id="container">
	<div id="pathway"><a href="/bp3/bin/DpromptIndex" class="link2">Web Services</a> > <a href="/bp3/bin/Dspc/DpromptWelcome"  class="link2">Profile and Service</a> &gt; Happy Supermouth</div>
	<div id="main">
    	<%@ include file="../menu.jsp" %>
    	<div id="content">
        	<div class="content-middle">
                
                <!--เนื้อหาเริ่มที่นี่-->
                <h3><img src="${RESOURCE}/eng/images/14_webservice_head01.gif"></h3>
               	<table width="100%" cellpadding="2" cellspacing="2" height="500">
                  	<tr>
                    	<td valign="top">
						
							<table width="650" border="0" cellspacing="0" cellpadding="0">
											<!--SVLT.VAR:CONF_TOP-->
											<tr>
												<td>
												<table width="100%" border="0" cellspacing="3"
													cellpadding="0">
													<tr>
														<td width="2%"><img
															src="${RESOURCE}/eng/images/14_webservice_bullet01.gif"
															width="9" height="9"></td>
														<td width="98%" class="textnormal_bold"><img
															src="${RESOURCE}/eng/images/14_webservice_subtitle27.gif"></td>
													</tr>
													<tr>
														<td>&nbsp;</td>
														<td class="textnormal">Enjoy more with extra value-added promotions that give your more choices to suit your usage and style. To check out a range of promotions before you subscribe, simply click <a href="http://www.happy.co.th/en/low/02_1003_index.php" target="_blank">here</a>.</td>
													</tr>
												</table>
												</td>
											</tr>
											<tr>
												<td height="15" align="center">&nbsp;</td>
											</tr>
											<tr>
												<td height="7" align="left">
												<table width="80%" border="0" align="center" cellpadding="2"
													cellspacing="2">
													<tr>
														<td width="49%" align="right" valign="top" class="textnormal_bold">Your Happy Mobile Number:</td>
														<td width="51%" class="textnormalred"><!--SVLT.VAR:SUBR_NUMB--></td>
													</tr>
													<tr>
														<td align="right" valign="top" class="textnormal_bold">Your Current Promotion:</td>
														<td class="textnormalred"><!--SVLT.VAR:CRRT_PCKG_DESC--></td>
													</tr>
													<!--SVLT.LOOP:VAS_PCKG-->
													<tr>
														<td height="24" align="right" valign="top" class="textnormal_bold">Your Value-Added Promotion:</td>
														<td class="textnormalred"><!--SVLT.VAR:DESC--></td>
													</tr>
													<!--SVLT.END:VAS_PCKG-->
												</table>
											<tr>
												<td height="8" align="left">
												<form action="/bp3/bin/Dspc/VoicePassApply" name="form1" method="post"><br><br>
												<table width="80%" border="0" align="center" cellpadding="0"
													cellspacing="3">
													<tr>
														<td></td>
													</tr>
													<tr>
														<td class="textnormal_bold">Subscribe Happy Supermouth</td>
													</tr>
													<tr>
														<td height="10">
														<select name="PACK_CODE" class="textnormal">
															<option value="">Promotion ::::::::::::</option>
															<!--SVLT.LOOP:PACK_LIST-->
															<option value="<!--SVLT.VAR:PACK_CODE-->"><!--SVLT.VAR:PACK_DESC--></option> 
															<!--SVLT.END:PACK_LIST-->
														</select> 
														</td>
													</tr>
													<!--SVLT.LOOP:ERROR-->
													<tr>
														<td class="textnormal_bold"><!--SVLT.VAR:MSG--></td>
													</tr>
													<!--SVLT.END:ERROR-->
												</table>
												<p>&nbsp;</p>
												<table width="250" border="0" align="center" cellpadding="5"
													cellspacing="0">
													<tr align="center" valign="top">
														<!--SVLT.LOOP:SUBMIT-->
														<td><a href="javascript:doSubmit()"><img src="${RESOURCE}/eng/images/14_webservice_submit.gif" width="58" height="23" border="0"></a></td>
														<!--SVLT.END:SUBMIT-->
														<td><a href="javascript:gotoWelcome()"><img src="${RESOURCE}/eng/images/14_webservice_cancel.gif" width="58" height="23" border="0"></a></td>
													</tr>
												</table>
												<p>&nbsp;</p>
												</form>
												</td>
											</tr>
											<!--SVLT.VAR:CONF_BOTTOM-->
										</table>
						
						</td>
                 	</tr>
              	</table>                
                <!--เนื้อหาสิ้นสุดที่นี่-->
                
            </div>
            <div class="content-bottom"></div>
        </div>
    </div>
</div>
<div id="footer">
<img src="${RESOURCE}/eng/images/copy_right.jpg" />
<a href="http://www.dtac.co.th" target="_blank"><img src="${RESOURCE}/eng/images/dtact_logo.jpg" border="0" /></a>
<a href="http://www.happyvirus.com" target="_blank"><img src="${RESOURCE}/eng/images/virus_icon.jpg" border="0" /></a>
</div>
</body>
</html>
